@extends('home.enterprises.layout')
@section('content')
<script>
	$('body').find('.daohang_1').css('display','none');
</script>
<div class="ip_paymain">
		<div class="ip_orderpay">
			<form action="{{ url('/home/enterprise/jobs/paystatus') }}" method="post" name="Payform">
				{{ csrf_field() }}
				<input type="hidden" name='eid' value='{{ $id }}'>
				<input type="hidden" name='rid' value='{{ $rData -> id }}'>
				<div style="width: 100%; height: 40px;">
					<h3 style="width: 200px; float: left;">订单信息</h3>
				</div>

				<table width="714" cellspacing="0" cellpadding="0" border="0">
					<tbody><tr>
						<th>商品名称</th>
						<th width="107">数量</th>
						<th width="126">单价</th>
						<th class="none" width="124">总价</th>
					</tr>
					
					<tr>
						<td class="post1205">{{ $rData -> compname }}i聘99 <span onmouseover="showoffer();this.style.color='#777777';" onmouseout="closeoffer();this.style.color='#448AC8';" class="sp1209" style="color: rgb(68, 138, 200);">职位信息
								<div id="offerpost" style="display: none;">
									<table width="100%" cellspacing="0" cellpadding="0" border="0">
										<tbody><tr>
											<td class="workname">职位名称：</td>
											<td colspan="3">{{ $rData -> workname }}</td>
										</tr>
										<tr>
											<td class="workname">职位类别：</td>
											<td colspan="3">{{ $rData -> pN }}</td>
										</tr>
										<tr>
											<td class="workname">工作地点：</td>
											<td>{{ $rData -> cityN }}</td>
											<td class="workname">发布日期：</td>
											<td>{{ date('Y-m-d', $rData -> date) }}</td>
										</tr>
										<tr>
											<td class="workname">工作经验：</td>
											<td>
												{{ $rData -> weN }}
											</td>
											<td class="workname">最低学历：</td>
											<td>
												{{ $rData -> erN }}
											</td>
										</tr>
										<tr>
											<td class="workname">管理经验：</td>
											<td></td>
											<td class="workname">工作性质：</td>
											<td>
												@if($rData -> jobcategory == 1)
												全职
												@elseif($rData -> jobcategory == 2)
												兼职
												@elseif($rData -> jobcategory == 4)
												实习
												@endif
											</td>
										</tr>
										<tr>
											<td class="workname">招聘人数：</td>
											<td>{{ $rData -> num }}人</td>
											<td class="workname">职位月薪：</td>
											<td>
												{{ $rData -> pmsN }}
											</td>
										</tr>
									</tbody></table>
								</div>
						</span></td>
						<td>1</td>
						<td class="chenghao">99.00</td>
						<td class="denghao"><span>99.00</span></td>
					</tr>
					@if($rData -> invoice_id <> 0)
					<tr>
						<td>发票快递费</td>
						<td>1</td>
						<td class="chenghao">15.00</td>
						<td class="denghao"><span>15.00</span></td>
					</tr>
					@endif
				</tbody></table>
				<div class="payline" style="padding: 10px 0px 0px 0px; height: auto;">
					<div class="ordright">
						应付金额：<span>
						￥
						@if($rData -> invoice_id <> 0)
						114.00
						@else
						99.00
						@endif</span>
					</div>
					<div class="ordright">
						<a href="http://e.zhaopin.com/positionpost/getform.do" onclick="ZP.analysis.init_monitor_analy(this,'iJobpackage','gobuy','001');;pop()" target="_blank" class="__ga__iJobpackage_gobuy_001 tc_jobs_btn">试试职位套餐，7折优惠！</a>
					</div>
				</div>

				<div class="pay_ways">
					<h3 class="paymoth">请选择以下支付平台支付（无手续费）</h3>
					<ul class="pay_bank">
						<li><label><input name="paymode" value="alipay" checked="checked" type="radio"><img src="/home/img/zhifubao.png" align="middle"> </label>
						</li>
					</ul>
					
				</div>

				<div class="payline">
					<input class="pay_next" value="" id="payBtn" type="button">
					<a href="http://e.zhaopin.com/positionpost/getform.do" onclick="ZP.analysis.init_monitor_analy(this,'iJobpackage','gobuy','001');;pop()" target="_blank" class="__ga__iJobpackage_gobuy_001 tc_jobs_btn">试试职位套餐，7折优惠！</a>
				</div>
				<div class="companyPersin" style="width: 600px;margin-top:40px">
					<span>提示：</span>一旦您进行支付成功后，智联招聘将为您开通为期30天的招聘服务业务，该款项不予任何理由退款！
				</div>
			</form>
		</div>
	</div>
	<script>
	$('.sp1209').hover(function(){
		$(this).find('#offerpost').css('display','block');
		$(this).css('color',"rgb(119, 119, 119)");
	},function(){
		$(this).find('#offerpost').css('display','none');
		$(this).css('color',"rgb(68, 138, 200)");
		
	});
	$('#payBtn').click(function(){
		document.Payform.submit();
	});

	</script>
@endsection